var fs = require("fs");

var data = fs.readFileSync('input.txt');

console.log(data.toString());
console.log("程序执行结束!");

console.log( __filename );
/*
var events = require('events'); 
var emitter = new events.EventEmitter(); 
emitter.emit('error'); 
*/

console.info("程序开始执行：");

var counter = 10;
console.log("计数: %d", counter);

console.time("获取数据");

console.log( __filename );
//
// 执行一些代码
// 
console.timeEnd('获取数据');

console.info("程序执行完毕。")

